package org.mikeliu.exp5.homework1;

import java.util.Arrays;
import java.util.Scanner;

public class Main
{
	public static void main(String[] args) 
	{
		Scanner scanner=new Scanner(System.in);
		int n=scanner.nextInt();
		int[] array=new int[n];
		int i=0;
		while(i<n)
		{
			try
			{
				array[i]=Integer.parseInt(scanner.next());
				i++;
			}
			catch (Exception e) {
				System.out.println(e);
				
			}
			
		}
		System.out.println(Arrays.toString(array));
		scanner.close();
	}
}
